
/*

Design Pattern Automation Toolkit.
Application to create applications with emphasis on Design patterns.
And support for round trip engineering.
Copyright (C) 2004 Vineeth Neelakant. nvineeth@gmail.com

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

*/
using System;using BusinessLayer;using InfoClasses;using dpatoolkit.UILayer;
using System.Collections;
using DesignPatternDefinitions;

namespace InfoClasses
{
	/// <summary>
	/// Concrete implementation for the IField class
	/// </summary>
	public class FieldInfo : IField
	{
		string fldVis, fldName, fldType, metaInfo, fldSummary;
		public FieldInfo()
		{
			// 
			// TODO: Add constructor logic here
			//
		}
		#region IField Members

		public string FieldVisibility
		{
			get
			{
				return this.fldVis;
			}
			set
			{
				this.fldVis = (string) value;
			}
		}

		public string FieldName
		{
			get
			{
				return this.fldName;
			}
			set
			{
				this.fldName = (string) value;
			}
		}

		public string GetMetaInfo(string language)
		{
			return this.metaInfo;
		}

		public void SetMetaInfo(string mInfo)
		{
			this.metaInfo=mInfo;
		}
		public object FieldUID
		{
			get
			{
				// TODO:  Add FieldInfo.FieldUID getter implementation
				return null;
			}
		}

		public string FieldSummary
		{
			get
			{
				return this.fldSummary;
			}
			set
			{
				this.fldSummary = (string) value;
			}
		}

		public string UMLRepresentation
		{
			get
			{
				// TODO:  Add FieldInfo.UMLRepresentation getter implementation
				return null;
			}
		}

		public string FieldType
		{
			get
			{
				return this.fldType;
			}
			set
			{
				this.fldType = (string) value;
			}
		}

		public Hashtable GetAllMetaInfo()
		{
			//not required not used
			return null;
		}

		#endregion
	}
}
